﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Site.Core.Abstract;

namespace Site.Core.Concrete
{
    public class Configuration: IConfiguration
    {
        const int DEFAULT_BLOCK_MARGIN = 5;
        const string DEFAULT_LAYOUT_NAME = "FlowLayout";
        //Kirill
        //const int DEFAULT_BLOCK_SIZE = 100;

        internal Configuration()
        {
            Initialize();
        }

        private void Initialize()
        {
            DefaultBlockMargin = DEFAULT_BLOCK_MARGIN;
            DefaultLayoutName = DEFAULT_LAYOUT_NAME;
            //Kirill
            //DefaultBlockSize = DEFAULT_BLOCK_SIZE;
        }

        public int DefaultBlockMargin { get; set; }

        



        public void ResetToDefaults()
        {
            Initialize();
        }


        public string DefaultLayoutName { get; set; }
    }
}
